<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
	<meta name="viewport" content="user-scalable=no,viewport-fit=cover" />
	<link href="./css/baseCss.css" rel="stylesheet" type="text/css"/>
	<link href="./base/layer.css" rel="stylesheet" type="text/css"/>
	<!-- <link href="./base/articlecon.css" rel="stylesheet" type="text/css"/> -->
	<link href="./base/base2.css" rel="stylesheet" type="text/css"/>
	<script type="text/javascript" src="./base/rem.js"></script>
	<script type="text/javascript" src="./base/iscroll.js"></script>

	<link rel="stylesheet" type="text/css" href="./css/submitOrder.css">
	<style type="text/css">
		.sub-select select{
			-webkit-appearance: none;
			-webkit-tap-highlight-color: #fff;
  			outline: 0;
  			color: #666666;
  			font-size: 0.42rem;
  			border: none;
		}

		/*支付窗口*/
		.payLight_title{
			text-align: center;
			height: 1.5rem;
    		line-height: 1.5rem;
		}
		.payLight_panel{
			height: 1.5rem;
    		line-height: 1.5rem;
    		padding: 0 0.3rem;
    		font-size: 0.45rem;
    		text-align: center;
		}
		.payLight_panel button{
			width: 40%;
		}
		.btnLight input{
			width: 100%;
			height: 80%;
		}
		/*.payLight_panel_rt img{
			width: 0.2rem;
    		float: right;
    		margin-top: 0.3rem;
		}*/
		.payLight_sure{
			border: none;
    		width: 100%;
    		height: 1rem;
    		background-color: #cccccc;
    		margin-top: 0.5rem;
    		text-align: center;
		}
		.payLight .payLight_panel{
			background-color: #999999;
		}

		/*选择类型窗口*/
		/*.selectLight{
			position: absolute;
    		background-color: #fff;
    		width: 70%;
    		left: 0;
    		right: 0;
    		margin: 0 auto;
    		border-radius: 0.2rem;
    		padding-left: 0.7rem;
    		top: 40%;
    		z-index: 2;
			display: none;
		}
		.selectLight div{
			height: 1.2rem;
    		line-height: 1.2rem;
		}
		.selectLight div:hover{
			
		}*/
	</style>
	<title>下单页</title>
</head>
<body>
<form id="form" name="form" action="http://dev.becypress.com/api/pay/lszyst/prepayBank" class="form" method="post"
    enctype="application/x-www-form-urlencoded;charset=UTF-8;multipart/form-data">
	<input type="hidden" id="id" name="id" value="" />
    <input type="hidden" id="money" name="money" value="" />
    <input type="hidden" id="openid" name="openid" value="" />
    <input type="hidden" id="remark" name="remark" value="用户点餐" />
    <input type="hidden" id="terminalNo" name="terminalNo" value="" />
    <input type="hidden" id="type" name="type" value="" />
    <input type="hidden" id="token" name="token" value="" />
	

	<!-- <div class="loadLogo"><img src="./img/load.gif"></div>显示缓存的logo -->
	<input id="restaurantPhone" type="hidden">

	<header>
		<div class="topReturn">
			<img class="topReturn-return" src="./img/return_02.png" onclick="returnDetail();">
			<div class="topReturn-text">湘菜人家</div>
			<!-- <div class="topReturn-editor">编辑</div> -->
		</div>
	</header>
	<div>
		<div>
			<ul id="subUl">
				<li data-foodId="1">
					<div class='sub-root'>
						<div class="sub-root-img"><img src="./img/neet_05.png"></div>
						<div class="sub-root-bar">
							<div class="sub-root-title">麻辣小龙虾</div>
							<div class="sub-root-type"><span class="sub-root-w">周一至周日</span><span>免预约</span></div>
							<div class="sub-root-size"><span>随时退</span><span>过期自动退</span></div>
						</div>
						<div class="sub-root-money">￥68</div>
					</div>
					<div class="sub-num pd">
						<span class="sub-title">数量</span>
						<div class="sub-add">
							<span class='foodNum'>1</span>
						</div>
					</div>
				</li>
			</ul>
			

			<div class="sub-total pd">
				<span class="sub-title">小计</span>
				<span class="sub-money">￥<span id="totalPrice">00</span></span>
			</div>

			<!-- <div id="selTypeInc" class="sub-vouchers pd">
				<span class="sub-title">选择配送类型</span><div class="sub-select" onclick="subselect();" data-typeid="1">
					<span id="selTypeName">食堂</span><img src="./img/return_01.png"></div>
			</div> -->
			
			<div id="subInfor">
				<!-- <div class='sub-vouchers pd'>
                    <span class='sub-title'>满减优惠</span><div class='sub-select'><span id='fullReduces'>暂无可用</span></div>
                 </div>
				<div class='sub-realMoney pd'>
                	<span class='sub-title'>实付金额</span><span class='sub-money'>￥20</span>
                </div>
                <div class='sub-phone pd'>
                	<span class='sub-title'>手机号</span>
                	<input class='sub-phone-num' type='text' value='12344566765'>
                </div> -->
				<!-- <div class="sub-vouchers pd">
					<span class="sub-title">选择地址</span><div class="sub-select"><span id="subAddress">齐齐哈尔</span><img src="./img/return_01.png"></div>
				</div>
				<div class="sub-vouchers pd">
					<span class="sub-title">抵用券</span><div class="sub-select"><span>暂无可用</span><img src="./img/return_01.png"></div>
				</div>
				<div class="sub-realMoney pd">
					<span class="sub-title">实付金额</span><span class="sub-money">￥<span id="realMoney">00</span></span>
				</div>

				<div class="sub-phone pd">
					<span class="sub-title">手机号</span>
					<span class="sub-phone-num">12344566765</span>
				</div> -->
			</div>
		</div>
	</div>
	<div style="height: 1.5rem;"></div>
	<div class="sub-order" onclick="subOrdera();">￥00提交订单</div>
	
	<div class="zhezhao" onclick="zhezhaoNo();"></div>
	<div class="btnLight light">
		<div class="payLight_title">请选择支付方式</div>
		<div class="payLight_panel">
			<!-- <input type="text" name=""> -->
			<button type="button" class="redBtn" data-type="bank">银行支付</button>
			<button type="button" class="redBtn" data-type="card">一卡通支付</button>
		</div>
		<!-- <button class="payLight_sure">确定</button> -->
	</div>

	<div class="payLight light">
		<div class="payLight_title">请输入密码</div>
		<div class="payLight_panel">
			<input type="text" id="password" name="password" value=""/>
		</div>
		<div class="payLight_sure" onclick="sureclick()">确定</div>
	</div>
</form>
</body>
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/httpUnit.js"></script>
<script type="text/javascript" src="./js/constants.js"></script>
<script type="text/javascript" src="./js/submitOrder.js"></script>
<script type="text/javascript" src="./js/md5.js"></script>
<script type="text/javascript">
	function sureclick(){
		var pass = $("#password").val();
		if(pass==123456){
			window.location.href="./order.html";
		}else{
			alert("密码错误，请重新输入");
		}
	}

	function subOrdera(){
		$(".zhezhao").css("display","block");
		$(".light").css("display","block");
	}
    
	function zhezhao(){
		$(".zhezhao").css("display","none");
		$(".light").css("display","none");
	}

</script>
</html>